﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace TiledPlatformer.Entity
{
    public class Ladder : GameObject
    {
        int Length;

        public Ladder(Vector2 position, int length)
            : base(position, 32, 32)
        {
            this.Length = length * 32;
            collisionBox.Inflate(0, this.Length - length);
            type = ObjectType.PASSTHRU;
        }
    }
}
